package com.mind.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mind.system.domain.AjBasicNoMaterialmapping;

import java.util.List;

public interface AjBasicNoMaterialmappingMapper extends BaseMapper<AjBasicNoMaterialmapping> {
    /**
     * 查询数据集合
     *
     * @param basicNoMaterialmapping 信息
     * @return 数据集合
     */
    public List<AjBasicNoMaterialmapping> selectBasicNoMaterialmappingList(AjBasicNoMaterialmapping basicNoMaterialmapping);

    /**
     * 通过ID查询信息
     *
     * @param basicNoMaterialmappingId ID
     * @return 角色对象信息
     */
    public AjBasicNoMaterialmapping selectBasicNoMaterialmappingById(Long basicNoMaterialmappingId);

    /**
     * 删除信息
     *
     * @param basicNoMaterialmappingId ID
     * @return 结果
     */
    public int deleteBasicNoMaterialmappingById(Long basicNoMaterialmappingId);

    /**
     * 批量删除信息
     *
     * @param basicNoMaterialmappingIds 需要删除的ID
     * @return 结果
     */
    public int deleteBasicNoMaterialmappingByIds(Long[] basicNoMaterialmappingIds);

    /**
     * 修改信息
     *
     * @param basicNoMaterialmapping 信息
     * @return 结果
     */
    public int updateBasicNoMaterialmapping(AjBasicNoMaterialmapping basicNoMaterialmapping);

    /**
     * 新增信息
     *
     * @param basicNoMaterialmapping 信息
     * @return 结果
     */
    public int insertBasicNoMaterialmapping(AjBasicNoMaterialmapping basicNoMaterialmapping);

    /**
     * 批量新增信息
     *
     * @param basicNoMaterialmappingList 信息
     * @return 结果
     */
    public int insertBasicNoMaterialmappingBatch(List<AjBasicNoMaterialmapping> basicNoMaterialmappingList);


    /**
     * 根据名称查
     *
     * @param name 名称
     * @return 结果
     */
    AjBasicNoMaterialmapping selectBasicNoMaterialmappingByName(String name);

}
